package com.example.shirospringboot.mapper;

import com.example.shirospringboot.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface OrderMapper {

    public List<Order>queryAllOrder();

    public List<Order>queryOrderByAuthority();

    public int toAuthor(int id);

    public int toDeny(int id);


}
